<?php $this->_Hhead()?>
<!--<div id="J_topBn" class="site-bn site-bn-bg">-->
    <!--<div class="container clearfix">-->
        <!--<div class="site-bn-main">-->
            <!--<div class="links">-->
                <!--<a class="btn-link-common btn-link" href="http://www.xiaolajiao.com/goods-341.html">立即抢购</a>-->
                <!--<a class="btn-link-common btn-enter J_closeBn" href="javascript: void(0);">-->
                    <!--<span class="counter J_counter">5秒</span> 进入官网</a>-->
            <!--</div>-->
        <!--</div>-->
        <!--<a class="close J_closeBn" href="javascript:void(0);"><i class="iconfont"></i></a>-->
    <!--</div>-->
<!--</div>-->

<!--banner开始-->
<div class="site-banner" id="slideBox">
    <?php $banner=$this->data['set']['banner'];$banner=explode('|',$banner);
    $l=0;
    foreach($banner as $k=>$v){
    if($v){?>
    <div class="banner-show banner-href"
         style="display:<?php if($l==0){echo 'block';}else{echo 'none';}?>; background-image: url(&quot;<?php echo $v;?>&quot;);">
    </div>
    <?php
        $l++;}
    }?>
</div>
<!--banner结束-->

<div class="category-column">
    <div class="goods-category" style="height: 100%">
        <!--商品分类-->
        <?php foreach($fl as $v){?>
             <ul>
            <!--分类列表循环-->
            <li class="goods-category-li">
                <div class="goods-category-name">
                    <div class="goods-category-title">
                        <!--父类名字-->
                        <a href="/index.php?C=Index&F=goods_list&type=2&key=<?php echo $v['id']?>"><?php echo $v['name']?></a>
                    </div>
                    <div class="goods-category-links">
                        <ul>
                            <?php foreach($v['goods'] as $j){?>
                            <!--商品名字-->
                                <li>
                                <a href="/index.php?C=Index&F=goods_msg&id=<?php echo $j['id']?>"><?php echo $j['name']?></a>
                            </li>
                            <?php }?>
                        </ul>
                    </div>
                </div>

                <div class="goods-category-second">
                    <ul>
                        <?php foreach($v['goods'] as $j){?>
                        <li>
                            <a href="/index.php?C=Index&F=goods_msg&id=<?php echo $j['id']?>">

                                <img alt="" src="<?php echo substr(strrchr($j['img'], '|'),1)?>">
                                <span><?php echo $j['name']?></span>
                            </a>
                        </li>
                        <?php }?>
                    </ul>
                </div>

            </li>
        </ul>
        <?php }?>
    </div>


    <div class="banner-link-region banner-href">
        <div class="banner-control" id="js_ban_button_box">
            <a href="javascript:;" class="banner-control-left"></a>
            <a href="javascript:;" class="banner-control-right"></a></div>
    </div>


    <div class="banner-link-hd">
        <ul>
            <li class=""></li>
            <li class="on"></li>
        </ul>
    </div>
</div>


<!--栏目-->
<?php foreach($lm as $v){?>
<div class="star-goods-list">
    <h2><?php echo $v['name']?></h2>
    <div><a href="/index.php?C=Index&F=goods_list&type=1&key=<?php echo $v['id']?>" style="color: #0e49ef">更多</a></div>
    <div class="star-goods">
        <ul>
            <?php foreach($v['goods'] as $g){?>
            <!--END循环--><!--循环-->
             <li class="star-goods-li" style="background-color: rgb(236, 236, 236);">
                <span class="sign" style="background-color:#83C44E;">新品</span>
                <div class="star-goods-content" style="left: 0px;">
                    <img alt="" src="<?php echo substr(strrchr($g['img'], '|'),1)?>">
                    <div class="star-goods-content-text" style="left: 0px;">
                        <p class="star-goods-content-title">
                            <?php echo $g['name']?>
                        </p>

                        <p class="star-goods-content-price">
                            ¥ <?php echo $g['money']?>
                        </p>
                    </div>
                </div>
                <div class="star-goods-details" style="right: -51%;">
                    <p class="star-goods-details-title">
                        <?php echo $g['name']?>
                    </p>
                    <p class="star-goods-details-price">
                        ¥ <?php echo $g['money']?>
                    </p>
                    <ul class="star-goods-details-parameter ">
                       <li>  ¥ <?php echo $g['msg']?></li>
                    </ul>
                </div>
                <div class="star-goods-details-links" style="right: -100%;">
                    <a class="star-goods-details-links01" href="/index.php?C=Index&F=goods_msg&id=<?php echo $g['id']?>"
                       target="_blank">立即购买</a>
                    <a class="star-goods-details-links02"
                                                   href="/index.php?C=Index&F=goods_msg&id=<?php echo $g['id']?>"
                                                   target="_blank">查看详情</a>

                </div>
            </li>
            <?php }?>
        </ul>
    </div>
</div>
<?php }?>
<!--栏目 end-->

<?php $this->_Hfooter()?>
